import request from "./axios.js";

//星座
const horoscope = (data) => {
  return request({
    url: `/constellation/getAll?key=8a69ad50cab2223b3a04a2af92c9f68c&consName=${data.consName}&type=${data.type}`,
    method: "get",
    header: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
  });
};

export { horoscope };
